package com.lianniu.web.baseService.user.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@Controller
public class FrontUserController {
	@RequestMapping ("/register")
	public String frontUserAdd(){
		return "/register";
	}
	@RequestMapping ("/getFrontUser")
	public String getFrontUser(){
    return "/baseService/frontUser/getFrontUser";
	}
    @RequestMapping (value={"/forgetPass"},method = RequestMethod.GET)
    public String forgetPass(){
        return "/forgetPass";
    }
    @RequestMapping(value={"/opration"},method = RequestMethod.GET)
    public String goOpration(){
        
        return "/baseService/frontUser/opration";
    }
    @RequestMapping(value={"/updatePwd"},method = RequestMethod.GET)
    public String updatePwd(){
        
        return "/baseService/frontUser/updatepwd";
    }
   @RequestMapping(value={"/login"},method = RequestMethod.GET)
    public String login(){
    	return  "/login";	
    }
   @RequestMapping(value={"/setting"},method = RequestMethod.GET)
   public String setting(){
       return  "/baseService/frontUser/opration";   
   }
   @RequestMapping("/buyerRegister")
 	public String addBuyer(){
 		return "/buyerRegister";
 	}
    @RequestMapping("/buyerLogin")
 	public String buyerLogin(){
 		return "/buyerLogin";
 	}
    @RequestMapping(value={"pending"})
    public String pending(){
    	return "/index";
    }
    @RequestMapping(value={"shipped"})
    public String shipped(){
    	return "/index";
    }
    @RequestMapping(value={"setUp"})
    public String setUp(){
    	return "/baseService/buyer/set";
    }
}
